package com.lxw.api.cms;

import com.lxw.framework.domain.cms.CmsPage;
import com.lxw.framework.domain.cms.request.QueryPageRequest;
import com.lxw.framework.domain.cms.response.CmsPageResult;
import com.lxw.framework.model.response.QueryResponseResult;
import com.lxw.framework.model.response.QueryResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "页面管理",description = "页面管理中的CRUD操作")
public interface CmsPageControllerApi {
    //查询cms页面信息
    @ApiOperation(value = "分页条件查询页面信息")
    public QueryResponseResult findList(Integer page, Integer pageSize, QueryPageRequest qpr);

    @ApiOperation(value = "页面信息添加")
    CmsPageResult add(CmsPage cmsPage);

}
